package com.ly.elasticserach;

import com.common.security.annotation.EnableCustomConfig;
import com.common.security.annotation.EnableCustomFeignClients;
import org.dromara.easyes.starter.register.EsMapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@EnableCustomConfig
@EnableCustomFeignClients
@EsMapperScan("com.ly.elasticserach.mapper")
//这个服务仅仅是为了测试easy-es  不是真正的对外访问服务
public class SpringCloudElasticsearchApplication {



    public static void main(String[] args){
        SpringApplication.run(SpringCloudElasticsearchApplication.class,args);
    }
}
